package com.sdy.supermarket.biz.mapper;

import com.sdy.supermarket.biz.model.GsUserNotice;
import com.sdy.mvc.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author hyh
 * @since 2019-08-20
 */
public interface GsUserNoticeMapper extends BaseMapper<GsUserNotice> {

    /**
     * 批量更新用户通知表数据
     *
     * @param list
     * @return
     */
    int batchUpdate(List<GsUserNotice> list);

    /**
     * 批量查询用户未读通知表数据
     *
     * @param list
     * @return
     */
    List<GsUserNotice> batchSelect(List<Integer> list);

}
